package com.btex.app.entity;

import java.util.List;

/**
 * @author zy zhangyi <zhangyi, 1104745049@QQ.com
 * @version v1.0
 * @project study1
 * @Description
 * @encoding UTF-8
 * @date 2018/5/23
 * @time 上午10:31
 * @修改记录 <pre>
 * 版本       修改人         修改时间         修改内容描述
 * --------------------------------------------------
 * <p>
 * --------------------------------------------------
 * </pre>
 */

public class UserMoneyInfo {

    /**
     * code : 1
     * data : {"active_orders":[],"balance":{"type":"0.0000","danwei":"0.0000","can_buy_max":0,"can_sell_max":"0.0000"},"data_hash":"efbf49a7d1d84c68d90a96a3bad93d91"}
     * info :
     */

    private int code;
    private DataBean data;
    private String info;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public static class DataBean {
        /**
         * active_orders : []
         * balance : {"type":"0.0000","danwei":"0.0000","can_buy_max":0,"can_sell_max":"0.0000"}
         * data_hash : efbf49a7d1d84c68d90a96a3bad93d91
         */

        private BalanceBean balance;
        private String data_hash;
        private List<?> active_orders;

        public BalanceBean getBalance() {
            return balance;
        }

        public void setBalance(BalanceBean balance) {
            this.balance = balance;
        }

        public String getData_hash() {
            return data_hash;
        }

        public void setData_hash(String data_hash) {
            this.data_hash = data_hash;
        }

        public List<?> getActive_orders() {
            return active_orders;
        }

        public void setActive_orders(List<?> active_orders) {
            this.active_orders = active_orders;
        }

        public static class BalanceBean {
            /**
             * type : 0.0000
             * danwei : 0.0000
             * can_buy_max : 0
             * can_sell_max : 0.0000
             */

            private String type;
            private String danwei;
            private String can_buy_max;
            private String can_sell_max;

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getDanwei() {
                return danwei;
            }

            public void setDanwei(String danwei) {
                this.danwei = danwei;
            }

            public String getCan_buy_max() {
                return can_buy_max;
            }

            public void setCan_buy_max(String can_buy_max) {
                this.can_buy_max = can_buy_max;
            }

            public String getCan_sell_max() {
                return can_sell_max;
            }

            public void setCan_sell_max(String can_sell_max) {
                this.can_sell_max = can_sell_max;
            }
        }
    }
}
